{% extends "moban1788/base.html" %}
{% block main %}
<div class="page-title cart-title">
  <div class="container-fluid">
    <div class="row" style="margin-top: 6%">
        {% for value in data %}
        <div class = "col-lg-6">
                <div style="background-color: white; width: 400px; height: auto; overflow-x:auto; margin-left: 20%; margin-top: 13%; border-radius: 20px">
                    <p style="padding-left: 20px; padding-top: 10px; padding-bottom: 10px">
                        <b>平台:&nbsp;&nbsp;</b>{{ value.platform }}<br>
                        <b>结果:&nbsp;&nbsp;</b>{{ value.result_describe }}<br>
                        <b>版本:&nbsp;&nbsp;</b>{{ value.version }}<br>
                        <b>时间:&nbsp;&nbsp;</b>{{ value.creatdate }}<br>
                        <b>模块名称:&nbsp;&nbsp;</b>{{ value.module }}<br>
                        <b>测试用例:&nbsp;&nbsp;</b>{{ value.casename }}<br>
                        <b>异常:&nbsp;&nbsp;</b>{{ value.exception }}<br>
                        <b>是否发送邮件:&nbsp;&nbsp;</b>{{ value.notice_describe }}<br>
                    </p>
                </div>
            </div>
            {% if images != 'ok' %}
                {% if images != '' %}
                <div class="col-lg-6">
                    <img src="../../qa/static/images/client/{{ images }}" height="400" style="margin-left: 20%"/>
{#                    <img src="/qa/static/images/client/Screenshot_20170412-211516.png" height="400" style="margin-left: 20%"/>#}
{#                     <img src="../../qa/static/images/client/{{ images }}" width="300"/>#}
                </div>
                 {% endif %}
            {% endif %}
            {% endfor %}
            </div>
        </div>
      </div>
  </div>
</div>
{% endblock %}
{% block js %}
    <script src="../../../qa/static/js_new/jquery-1.12.4.min.js"></script>
    <script src="../../../qa/static/js_new/bootstrap.min.js"></script>
{% endblock %}